mesh *get_model_object(char *name)
Parameter | Type | Description |
---|---|---|
name | char * | model name |
Returns a pointer to the given model or NULL if model not found.
This function is used to get models from the stock. It returns the model pointer for a given string based name. Models can be .3ds or .fao files. If model is not in the model linked list, it attempts to load the model from disk.